/*
* ExaminationDao.java
* Created on  2014-8-4 上午9:41
* 版本       修改时间          作者      修改内容
* V1.0.1    2014-8-4       gaoxinyu    初始版本
*
*/
package com.genghis.ptas.task.dao;

import com.genghis.core.page.entity.Page;
import com.genghis.core.page.entity.PageParameter;
import com.genghis.ptas.task.entity.ExaminationInfo;
import com.genghis.ptas.task.entity.ExaminationTask;
import com.genghis.ptas.task.entity.LibraryOption;
import com.genghis.ptas.task.entity.LibraryTask;

import java.util.List;

/**
 * 类的描述信息
 *
 * @author fengxuanzhen
 * @version 1.0.1
 */
public interface ExaminationDao {
    Page<ExaminationInfo> findExaminationPageList(PageParameter pageParameter, ExaminationInfo libraryTask);

    void deleteExaminationInfoById(Integer id);

    void deleteExaminationTaskByExaminationInfoId(Integer examinationInfoId);

    int addExamination(ExaminationInfo libraryTask);

    ExaminationInfo findExaminationById(int taskId);

    List<LibraryOption> findLibraryOptionByTaskId(int taskId);

    void editExamination(ExaminationInfo libraryTask);

    int addExaminationTask(ExaminationTask examinationTask);

    List<ExaminationTask> findExaminationTaskByExaminationInfoId(Integer id);

    List<ExaminationInfo> findAllExaminationList();
}
